package tianyin.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import tianyin.dao.IUsersDao;
import tianyin.model.Users;

@Controller
@RequestMapping("/mall/html/users")
public class UsersController {

	@Resource
	private IUsersDao usersDao;
	
	public Users login(Users user) {
		return usersDao.login(user);
	}
}
